package com.ruoyi.system.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 上报业务对象 t_report
 *
 * @author ruoyi
 * @date 2024-03-06
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class TReportBo extends BaseEntity {

    /**
     *
     */
    @NotBlank(message = "不能为空", groups = { EditGroup.class })
    private String pkid;

    /**
     * 上报人
     */
    @NotBlank(message = "上报人不能为空", groups = { AddGroup.class, EditGroup.class })
    private String reportName;

    /**
     * 上报时间
     */
    @NotNull(message = "上报时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date reportTime;

    /**
     * 所属厂区
     */
    @NotBlank(message = "所属厂区不能为空", groups = { AddGroup.class, EditGroup.class })
    private String plantId;

    /**
     * 填报报表
     */
    private String reportId;

    /**
     * 填报数据
     */
    private Object reportData;

    /**
     * 审核状态 0：未通过，1：通过
     */
    private String audit;


}
